package com.example.weiwing.config;

public class WeiWingConfig {
    /**
     * 项目名称
     */
    private final static String name = "WEI_WING";

    /**
     * 版本
     */
    private final static String version = "0.0.1";

    /**
     * 版权年份
     */
    private final static String copyrightYear = "2023";

    /**
     * 上传路径
     */
    private final static String profile = "D:/weiwing/uploadPath";

    private final static String URL = "http://10.41.109.210:80";

    public static String getName() {
        return name;
    }

    public static String getVersion() {
        return version;
    }

    public static String getCopyrightYear() {
        return copyrightYear;
    }

    public static String getProfile() {
        return profile;
    }

    public static String getUrl() {
        return URL;
    }


    /**
     * 获取导入上传路径
     */
    public static String getImportPath() {
        return getProfile() + "/import";
    }

    /**
     * 获取头像上传路径
     */
    public static String getAvatarPath() {
        return getProfile() + "/avatar";
    }

    /**
     * 获取下载路径
     */
    public static String getDownloadPath() {
        return getProfile() + "/download/";
    }

    /**
     * 获取上传路径
     */
    public static String getUploadPath() {
        return getProfile() + "/upload";
    }
}
